#include "dynamictreewidgetitembase.h"

namespace PublicGui
{
	DynamicTreeWidgetItemBase::DynamicTreeWidgetItemBase():_refresh(false),_connectApplicationSignal(false)
	{
		_actorPtr = NULL;
	}

	DynamicTreeWidgetItemBase::~DynamicTreeWidgetItemBase()
	{}

	void DynamicTreeWidgetItemBase::initializationUi()
	{}

	void DynamicTreeWidgetItemBase::setItemData(CoreBase::ActorBase* actorptr,const QString& tag)
	{}

	CoreBase::ActorBase* DynamicTreeWidgetItemBase::getItemActor()
	{
		return _actorPtr;
	}

	QVariant DynamicTreeWidgetItemBase::getItemData()
	{
		return _itemData;
	}

	QMap<QTreeWidgetItem*,QWidget*> DynamicTreeWidgetItemBase::getItemAllChild()
	{
		return _itemChild;
	}

	void DynamicTreeWidgetItemBase::setLabelTextList(QStringList mtext)
	{}

	void DynamicTreeWidgetItemBase::setValueChangeAutoRefresh(bool refresh)
	{
		_refresh = refresh;
	}

	void DynamicTreeWidgetItemBase::slotFocusChanged(QWidget*,QWidget*)
	{}
}